<%@ page contentType="text/html; charset=UTF-8"%>
<jsp:useBean id="action" scope="request"
	class="swd.work.dataview_wizard_fld_show.Action" />
<jsp:useBean id="view" scope="request"
	class="swd.work.dataview_wizard_fld_show.View" />
<jsp:setProperty name="view" property="*" />
<%if (action.action(pageContext).equals("login")){return;} %>

<html>
<head>
<title><%=view.getPrgTitle()%></title>
<LINK HREF="/SWD/workflow.css" REL="STYLESHEET" TYPE="TEXT/CSS">
</head>
<body bgcolor="#ffffff" onload="<%=view.getOnloadScript()%>">
<TABLE BORDER="0" HEIGHT="20" CELLPADDING="0" CELLSPACING="0">
	<TR>
		<TD BACKGROUND="pub_images/title_bg.gif">
		<DIV ALIGN="LEFT"><IMG SRC="pub_images/title01.gif" WIDTH="18"
			HEIGHT="24" HSPACE="0" alt="" /><IMG SRC="pub_images/glass.gif"
			WIDTH="12" HEIGHT="8" alt="" /></DIV>
		</TD>
		<TD ALIGN="LEFT" HEIGHT="20" VALIGN="MIDDLE"
			BACKGROUND="pub_images/title_bg.gif" CLASS="TITLE"><%=view.getPrgTitle()%></TD>
		<TD BACKGROUND="pub_images/title_bg.gif">
		<DIV ALIGN="RIGHT"><IMG SRC="pub_images/glass.gif" WIDTH="12"
			HEIGHT="8" alt="" /><IMG SRC="pub_images/title02.gif" WIDTH="18"
			HEIGHT="24" HSPACE="0" alt="" /></DIV>
		</TD>
	</TR>
</TABLE>
<form action="<%=request.getRequestURI()%>" method="POST">
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="0">
	<TR>
		<TD style=""><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnAddTitle()%>" CLASS="button"
			ONCLICK="javascript:document.all.item('prgAction').value='add';document.forms[0].submit();" /></TD>
		<TD style=""><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnSaveTitle()%>" CLASS="button"
			ONCLICK="javascript:document.all.item('prgAction').value='save';document.forms[0].submit();" /></TD>
		<TD style=""><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnQueryTitle()%>" CLASS="button"
			ONCLICK="javascript:document.all.item('prgAction').value='query';document.forms[0].submit();" /></TD>
		<TD style=""><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnModifyTitle()%>" CLASS="button"
			ONCLICK="javascript:document.all.item('prgAction').value='modify';document.forms[0].submit();" /></TD>
		<TD style=""><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnApproveTitle()%>" CLASS="button"
			ONCLICK="javascript:document.all.item('prgAction').value='approve';document.forms[0].submit();" /></TD>
		<TD style=""><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnRejectTitle()%>" CLASS="button"
			ONCLICK="javascript:document.all.item('prgAction').value='reject';document.forms[0].submit();" /></TD>
		<TD style=""><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnDraftTitle()%>" CLASS="button"
			ONCLICK="javascript:document.all.item('prgAction').value='draft';document.forms[0].submit();" /></TD>
		<TD style=""><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnCancelTitle()%>" CLASS="button"
			ONCLICK="javascript:document.all.item('prgAction').value='cancel';document.forms[0].submit();" /></TD>
		<TD style=""><INPUT TYPE="BUTTON"
			VALUE="<%=view.getBtnExitTitle()%>" CLASS="button"
			ONCLICK="javascript:document.all.item('prgAction').value='exit';document.forms[0].submit();" /></TD>
	</TR>
</TABLE>
<TABLE BORDER="0" CELLSPACING="1" CELLPADDING="0">
	<TR>
		<TD WIDTH="69">
		<DIV ALIGN="LEFT"><IMG SRC="pub_images/title02_bg1.gif"
			WIDTH="69" HEIGHT="11"></DIV>
		</TD>
		<TD VALIGN="MIDDLE" CLASS="TITLE"><%=view.getFrm1Name()%></TD>
		<TD WIDTH="69">
		<DIV ALIGN="RIGHT"><IMG SRC="pub_images/title2_bg2.gif"
			WIDTH="69" HEIGHT="11"></DIV>
		</TD>
	</TR>
</TABLE>
<table BORDER="0" WIDTH="540px" CELLSPACING="1" CELLPADDING="0">
	<TR>
		<TD nowrap WIDTH="0%" CLASS="td_head"><%=view.getprg_noTitle()%></TD>
		<TD WIDTH="0%" CLASS="td_content"><INPUT TYPE="TEXT"
			NAME="prg_no" SIZE="40"
			VALUE="<%=(view.getprg_no()!=null ? view.getprg_no() : "")%>"
			<%=view.getprg_no_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getprg_no_readonly() ? "input_noborder" : "input")%>" />
		</TD>
	</TR>
	<TR>
		<TD nowrap WIDTH="0%" CLASS="td_head"><%=view.getfield_nameTitle()%></TD>
		<TD nowrap WIDTH="0%" CLASS="td_head"><%=view.gethtml_textTitle()%></TD>
	<TR>
	</TR>
	<tr>
		<TD WIDTH="0%" CLASS="td_content"><INPUT TYPE="TEXT"
			NAME="field_name" SIZE="20"
			VALUE="<%=(view.getfield_name()!=null ? view.getfield_name() : "")%>"
			<%=view.getfield_name_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getfield_name_readonly() ? "input_noborder" : "input")%>" />
		</TD>
		<TD WIDTH="0%" CLASS="td_content"><TEXTAREA rows="5" cols="75"
			NAME="html_text" <%=view.gethtml_text_readonly() ? "readonly" : ""%>
			CLASS="textarea"><%=(view.gethtml_text()!=null ? view.gethtml_text() : "")%></TEXTAREA>
		</TD>
	</TR>
	<TR>
		<TD WIDTH="0%" CLASS="td_content"><INPUT TYPE="TEXT"
			NAME="field_name" SIZE="20"
			VALUE="<%=(view.getfield_name()!=null ? view.getfield_name() : "")%>"
			<%=view.getfield_name_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getfield_name_readonly() ? "input_noborder" : "input")%>" />
		</TD>
		<TD WIDTH="0%" CLASS="td_content"><TEXTAREA rows="5" cols="75"
			NAME="html_text" <%=view.gethtml_text_readonly() ? "readonly" : ""%>
			CLASS="textarea"><%=(view.gethtml_text()!=null ? view.gethtml_text() : "")%></TEXTAREA>
		</TD>
	</TR>
	<TR>
		<TD WIDTH="0%" CLASS="td_content"><INPUT TYPE="TEXT"
			NAME="field_name" SIZE="20"
			VALUE="<%=(view.getfield_name()!=null ? view.getfield_name() : "")%>"
			<%=view.getfield_name_readonly() ? "readonly" : ""%>
			CLASS="<%=(view.getfield_name_readonly() ? "input_noborder" : "input")%>" />
		</TD>
		<TD WIDTH="0%" CLASS="td_content"><TEXTAREA rows="5" cols="75"
			NAME="html_text" <%=view.gethtml_text_readonly() ? "readonly" : ""%>
			CLASS="textarea"><%=(view.gethtml_text()!=null ? view.gethtml_text() : "")%></TEXTAREA>
		</TD>
	</TR>
</table>
<INPUT TYPE="HIDDEN" NAME="prgAction" VALUE="<%=view.getPrgAction()%>" />
<INPUT TYPE="HIDDEN" NAME="prgStatus" VALUE="<%=view.getPrgStatus()%>" />
<INPUT TYPE="HIDDEN" NAME="flowAction" VALUE="<%=view.getFlowAction()%>" />
<INPUT TYPE="HIDDEN" NAME="flowStatus" VALUE="<%=view.getFlowStatus()%>" />
<INPUT TYPE="HIDDEN" NAME="flowNO" VALUE="<%=view.getFlowNO()%>" /></form>
</body>
</html>
